From: Jasper St. Pierre Date: Wed, 18 Sep 2013 17:18:42 +0000 (-0400) Subject: network: Make sure to resync when the activating connection changes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3386 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2c00dad211cdf39c9c26c6d49a29be950e6fe053;p=gnome-shell.git network: Make sure to resync when the activating connection changes Otherwise, we may be left with a stale activating connection if a connection is activating, but doesn't fully activate for whatever reason. https://bugzilla.gnome.org/show_bug.cgi?id=708322 --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 029c4ca90..b7e6bf9c9 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1287,6 +1287,7 @@ const NMApplet = new Lang.Class({ this._client.connect('notify::networking-enabled', Lang.bind(this, this._syncNMState)); this._client.connect('notify::state', Lang.bind(this, this._syncNMState)); this._client.connect('notify::primary-connection', Lang.bind(this, this._syncMainConnection)); + this._client.connect('notify::activating-connection', Lang.bind(this, this._syncMainConnection)); this._client.connect('notify::active-connections', Lang.bind(this, this._syncVPNConnections)); this._client.connect('device-added', Lang.bind(this, this._deviceAdded)); this._client.connect('device-removed', Lang.bind(this, this._deviceRemoved));